// 设置导航栏 
.navigation {
    border: 0;
    justify-content: flex-start;
    margin-left: 15rpx;
}


.contains {
    position: fixed;
    width: 100%;
    height: 100%;
}

// 用户信息头部
.info_head {
    width: 680rpx;
    margin: 0 auto;
    height: 260rpx;

    display: flex;
    flex-direction: column;

    .info_name_photo {
        height: 180rpx;

        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        line-height: 180rpx;

        .info_name {
            width: 450rpx;
            font-size: 45rpx;
            font-weight: 700;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .info_photo {
            width: 180rpx;
            height: 180rpx;

            image {
                width: 100%;
                height: 100%;
                border-radius: 90rpx;
                background-color: #ccc;
                border: 1px solid rgba(166, 166, 166, 0.3);
            }

        }
    }

    .info_date {
        height: 80rpx;
        line-height: 80rpx;
        font-size: 30rpx;
        display: flex;

        .info_join_date {
            margin-right: 15rpx;
        }

        .info_address::before {
            content: "・";
            margin-right: 15rpx;
        }
    }
}

// 用户关注粉丝和设置
.info_follow_set {
    width: 680rpx;
    height: 160rpx;
    margin: 0 auto;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;

    .info_follow {
        width: 310rpx;
        display: flex;
        flex-flow: row nowrap;
        height: 140rpx;
        align-items: center;

        >view {
            display: flex;
            flex-flow: column;
            width: 155rpx;
        }

        .follow_num {
            font-size: 30rpx;
            font-weight: 700;
        }

        .follow_title {
            margin-top: 15rpx;
            font-size: 25rpx;
        }


    }

    .info_set {
        width: 370rpx;
        height: 80rpx;
        display: flex;
        flex-flow: row;
        justify-content: flex-end;
        align-items: center;

        >view {
            height: 80rpx;
            line-height: 80rpx;
            background-color: #3eae67;
            margin-left: 15rpx;
            padding: 0 20rpx;
            font-size: 30rpx;
            border-radius: 15rpx;
            text-align: center;
            color: #fff;
        }

        .follow {
            padding: 0 50rpx;
            background-color: #f97966;
        }

        .follow.active {
            background-color: skyblue;
            box-shadow: 0 0 10rpx rgba(135, 206, 235, 0.7);
        }
    }
}

// 标签页

.tabs {
    margin-top: 20rpx;
    position: fixed;
    border-top: 1px solid #ccc;
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;


    .tab_head.hidden {
        opacity: 0;
        height: 0;
    }

    .tab_head {
        margin-top: 20rpx;
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        border-radius: 10rpx;
        height: 80rpx;
        opacity: 1;
        transition: all 0.6s ease;

        .tab_head_item {

            font-size: 30rpx;
            text-align: center;
            line-height: 80rpx;
            width: 175rpx;
            border-radius: 10rpx;
            height: 80rpx;
            transition: all 0.5s;
        }

        .tab_head_item.active {
            color: #f97966;
            font-weight: 700;
            box-shadow: 3rpx 4rpx 8rpx rgba(156, 156, 156, 0.3)
        }
    }

    .tab_body {
        margin-top: 20rpx;
        box-sizing: border-box;

        .scroll_box {
            width: 100%;
            height: 800rpx;

            // 菜谱标签页
            .tab_menu_item {
                display: flex;
                flex-flow: column nowrap;
                width: 680rpx;
                margin: 0 auto;

                .menu_item {
                    height: 520rpx;
                    border-radius: 30rpx;
                    display: flex;
                    flex-flow: column nowrap;
                    margin-bottom: 30rpx;
                    padding-bottom: 10rpx;
                    border-bottom: 2rpx solid rgb(232, 193, 156);

                    .menu_img {
                        width: 100%;
                        height: 360rpx;

                        image {
                            width: 100%;
                            height: 360rpx;
                            background-color: #ccc;
                            border-radius: 30rpx;
                        }
                    }

                    .menu_info {
                        width: 100%;
                        height: 160rpx;
                        display: flex;
                        flex-flow: row nowrap;
                        justify-content: space-between;
                        align-items: center;

                        .menu_title_data {
                            width: 500rpx;
                            height: 160rpx;
                            display: flex;
                            flex-flow: column nowrap;
                            justify-content: center;

                            .title {
                                width: 500rpx;
                                height: 100rpx;
                                line-height: 100rpx;
                                font-size: 40rpx;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                                margin-bottom: 30rpx;
                            }

                            .menu_data {
                                height: 60rpx;
                                line-height: 60rpx;
                                display: flex;
                                flex-flow: row nowrap;
                                font-size: 30rpx;

                                >view {
                                    margin-left: 10rpx;
                                    margin-right: 15rpx;
                                    border: 1rpx solid #ccc;
                                    padding: 0 10rpx;
                                    border-radius: 10rpx;
                                    background-color: rgb(249, 126, 108);
                                    color: #fff;
                                }
                            }
                        }

                        .author_info {
                            width: 120rpx;
                            height: 160rpx;
                            display: flex;
                            flex-flow: column nowrap;
                            justify-content: center;
                            align-items: center;

                            .author_photo {
                                width: 100rpx;
                                height: 100rpx;

                                image {
                                    width: 100%;
                                    height: 100%;
                                    border-radius: 50rpx;
                                    background-color: #ccc;
                                    border: 1rpx solid rgba(209, 209, 209, 0.3);
                                }
                            }

                            .author_name {
                                width: 120rpx;
                                margin-top: 15rpx;
                                font-size: 25rpx;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                                text-align: center;
                            }
                        }

                    }






                }


            }

            // 作品标签页



            .tab_opus_item::after {
                content: "";
                display: block;
                width: 247rpx;
                height: 300rpx;
                visibility: hidden;
            }

            .tab_opus_item {
                display: flex;
                flex-flow: row wrap;
                justify-content: space-between;

                .opus_item {
                    width: 247px;
                    height: 247rpx;
                    background-color: skyblue;
                    box-sizing: border-box;
                    position: relative;
                    margin-bottom: 6rpx;
                    overflow: hidden;

                    .opus_img {
                        width: 100%;
                        height: 100%;

                        image {
                            width: 100%;
                            height: 100%;
                        }

                        ;
                    }

                    .cover {
                        position: absolute;
                        width: 100%;
                        height: 60rpx;
                        bottom: 0;
                        left: 0;
                        background-color: rgba(185, 181, 171, 0.1);
                        line-height: 60rpx;
                        font-size: 30rpx !important;
                        color: #fff;
                        padding-left: 30rpx;


                    }
                }
            }

        }

    }
}



// 上传作品
.upload_opus {
    width: 100%;
    position: fixed;
    bottom: 50rpx;


    >view {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        font-size: 40rpx;
        width: 200rpx;
        height: 90rpx;
        margin: 0 auto;
        padding: 0 20rpx;
        border-radius: 45rpx;
        background-color: #fa6650;
        color: #fff;

        .icon {
            margin-right: 10rpx;
        }




    }

}

// 设置弹窗

.setting_model::before {
    position: absolute;
    z-index: 2;
    content: "";
    background-color: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;

}

.setting_model.hide {
    opacity: 0;
    height: 0;
}

.setting_model {
    position: fixed;
    bottom: 0;
    z-index: 4;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.7s;

    .setting_content.hide {
        opacity: 0;
        height: 0;
    }

    .setting_content {
        position: absolute;
        z-index: 8;
        bottom: 0;
        width: 100%;
        height: 300rpx;
        background-color: #e4e2e2;
        border-radius: 30rpx 30rpx 0 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        font-size: 35rpx;
        transition: all 0.5s ease-in-out;

        .setting_choose {
            border-radius: 30rpx 30rpx 0 0;
            width: 100%;
            background-color: #fff;
            height: 160rpx;
            display: flex;
            flex-direction: column;
            align-items: center;
            line-height: 80rpx;


            .setting_btn {
                height: 80rpx;
            }

            .other_account {
                height: 80rpx;
                width: 100%;
                text-align: center;
                box-sizing: border-box;
                border-top: 2rpx solid #ccc;
            }
        }

        .close_model {
            box-sizing: border-box;
            width: 100%;
            height: 130rpx;
            background-color: #fff;
            text-align: center;
            padding-top: 20rpx;


        }

    }

}

// 登录提示
.login_tip_info .icon {
    display: none;
}